package com.xinzhidi.web.ctw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinzhidi.web.ctw.domain.entity.HouseholdTemperature;
import com.xinzhidi.web.ctw.domain.po.TemperaturePo;

import java.math.BigDecimal;


/**
 * 室温-（实时数据）Mapper接口
 *
 * @author cx
 * @date 2023-05-29
 */
public interface HouseholdTemperatureMapper extends BaseMapper<HouseholdTemperature> {

    BigDecimal getAvgTemperature(TemperaturePo po);

    BigDecimal getTemperatureByHouseholdId(Long householdId);
}
